package CircleAndCylinder;

public class Cylinder  extends Circle{
 double length;
public  double radius;
  double s;

public double getLength(){
    return length;
}
public void setLength(double length){
    this.length=length;
}



    public Cylinder() {
       this.length=1;
this.radius=1;
    }

    public Cylinder(double radius, double length) {
        super(radius);
        this.length = length;
    }


    public double findVolume(){
    double v=findArea()*length;
    return v;

}

}
